#ifndef HYDROFOBICANTISTAINDEVICECONTROLLER_H
#define HYDROFOBICANTISTAINDEVICECONTROLLER_H
#include "ISoapHAL.h"
#include "TrayStatus.h"

#include "HydrofobicAntiStainCompartiment.h"
class HydrofobicAntiStainCompartiment;

class HydrofobicAntiStainDeviceController
{
    public:
        HydrofobicAntiStainDeviceController(ISoapHAL *HAL);
        void lockTrays();
        void unlockTrays();
        TrayStatus getTrayStatus(int index);
        void flushTray(int index);
		HydrofobicAntiStainCompartiment *getTray(int index);
		void setTray(int index, HydrofobicAntiStainCompartiment *tray);
    private:
        HydrofobicAntiStainCompartiment *trays[2];
		int length;
        ISoapHAL *HAL;
};

#endif // HYDROFOBICANTISTAINDEVICECONTROLLER_H
